package com.mingyuan.library.domain.lending.patron.model.valueobject;

import com.mingyuan.library.domain.common.model.ValueObject;
import com.mingyuan.library.domain.lending.book.model.valueobject.BookId;
import com.mingyuan.library.domain.lending.librarybranch.model.valueobject.LibraryBranchId;
import lombok.NonNull;
import lombok.Value;

/**
 * 预定
 * @author yangzk
 * @date 2023/12/28 19:19
 **/
@Value
@ValueObject
public class Hold {
    /**
     * 图书ID
     */
    @NonNull BookId bookId;
    /**
     * 图书馆分馆ID
     */
    @NonNull LibraryBranchId libraryBranchId;

}
